function ti_h() {
    let t = new Date()
    let h = t.getHours()
    let m = t.getMinutes()
    let s = t.getSeconds()
    document.getElementById('ti_h').innerHTML = pt(h) + ':' + pt(m) + ':' + pt(s)
}


function ti_d() {
    let t = new Date()
    let m = Number(t.getMonth()) + 1
    let d = t.getDate()
    document.getElementById('ti_d').innerHTML = new String(2022) + '/' + pt(m) + '/' + pt(d)

    document.getElementById('gk').innerHTML = Math.ceil((1686067200000 - t.getTime()) / 1000 / 60 / 60 / 24)
}
